package rostering;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

import JaCoP.core.Store;

public class RosteringTest extends Rostering {
	
	private Rostering rostering;
	private Store store;
	
	public RosteringTest(){
		super(null);
	}
	
	@Before
	public void setup() {
		store = new Store();
		rostering = new Rostering(store);
	}
	
	@Test
	public void createWorkers() {
		rostering.createWorkers();
		assertEquals(true, rostering.checkConsistency());
	}
	
	@Test
	public void generateAllConstraintsTest() {
		rostering.generateAllConstraints();
		assertEquals(true, rostering.checkConsistency());
	}

}